<ion-view>
  <ion-header-bar class="bar bar-header header">
    <button ui-sref="login" class="button return-btn">返回</button>
    <h1 class="title">注册</h1>
  </ion-header-bar>
  <ion-content class="gray-bg">
    <form ng-submit="userRegister()">
        <div class="list register-list">
            <label class="item item-input register-item-border">
                <input type="text" ng-model="member.username" placeholder="请输入您的手机号码" ng-pattern="" >
            </label>
          <div class="item item-input register-item-border register-item-box">

            <button class="button button-small register-code-btn" type="button" on-touch="clickGetVerifyCode()" ng-class="{'disabled':isBtnDisabled}" ng-bind="verifyCodeBtnText"></button>
            <label>
              <input type="text" ng-model="member.verifyCode" placeholder="请输入短信验证码">
            </label>
          </div>
            <label class="item item-input register-item-border">
                <input type="password" ng-model="member.password" placeholder="设置密码">
            </label>
            <label class="item item-input register-item-border">
                <input type="password" ng-model="member.repassword" placeholder="再次确认密码">
            </label>
        </div>
      <!--item-checkbox-->
        <div class="item item-checkbox register-procotol-item">
            <label class="registercheckbox" on-touch="clickAgreeService()">
                <em class="register-checkbox" ng-class="{'active': member.agreeService}"><!---->
                    <input type="checkbox">
                </em>
            </label>
          <em on-touch="go2Procotol()" class="vertical-middle" style="color: #970b34;">同意《服务协议》</em>
        </div>
        <div class="padding">
            <button type="submit" class="button button-full claret-red-btn">注册</button>
        </div>
    </form>
  </ion-content>
</ion-view>
